import request from "@/common/request"

//课件管理左树数据展示
export const leftTreeList = (queryForm) => {
    return request("get", "/study/course/studyCourseClassify/tree", queryForm);
}

//课件管理分页展示
export const studycoursewarePage = (queryForm) => {
    return request("get", "/study/course/studyCourseware/page", queryForm);
}
//课件管理列表展示
export const studycoursewareList = (queryForm) => {
    return request("get", "/study/course/studyCourseware/list", queryForm);
}
//课件管理详情
export const studycoursewareInfo = (id) => {
    return request('get', '/study/course/studyCourseware/info', {
        id: id
    })
}
//课件管理信息保存
export const studycoursewareSave = (data) => {
    return request('post', '/study/course/studyCourseware/save', data)
}
//课件管理信息修改
export const studycoursewareEdit = (data) => {
    return request('post', '/study/course/studyCourseware/edit', data)
}
//课件管理信息删除
export const studycoursewareDel = (id) => {
    return request('post', '/study/course/studyCourseware/delete?id=' + id)
}
//课件管理批量删除
export const studycoursewareDelBatch = (ids) => {
    return request('post', '/study/course/studyCourseware/deleteBatch', ids)
}
//课件管理动态表头导出
export const studycoursewareDynamicExport = (data) => {
    return request("eptpost", '/study/course/studyCourseware/exportDynamic', data)
}
